package com.lagouedu.kucun.miaosha.service;

import org.redisson.api.RLock;

public interface MService {

    Integer getRemainNum();

    Boolean sendMessage();

    RLock getLock(String lockKey);

    void reduceRemainNum();

    void doMiaosha(String userId);
}
